/*
 * KKGridView.h
 *
 *  Created on: 2013-9-15
 *      Author: wanghua
 */

#ifndef KKGRIDVIEW_H_
#define KKGRIDVIEW_H_

#include "kaka_common.h"
#include "KKAdapterLayer.h"

USING_NS_CC;

using namespace std;

class KKGridView: public KKAdapterLayer {

private:

public:
	KKGridView();
	virtual ~KKGridView();

	KKNODE_FACTORY_METHOD(KKGridView,gridViewWithXml);

	virtual void saveToXml(TiXmlElement* element);

	virtual void layout();

	virtual bool addNode(KKNode* node, int zOrder = 0, int tag = 0);
};

KKNODE_PARSER_CLASS(KKGridViewParser,KKGridView,gridViewWithXml)
;

#endif /* KKGRIDVIEW_H_ */
